#ifndef WOW_H
#define WOW_H

#include <common/orbhelper.h>
#include <uORB/topics/event_signals.h>
#include "inputpin.h"

struct Wow : InputPin {
	virtual ~Wow() {}
	virtual bool get() {
		event_signals_.update();
		return event_signals_->wow;
	}

private:
	orbhelper::OrbSubscriber<event_signals_s, ORB_ID(event_signals)> event_signals_;
};

#endif
